#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>

#define A_MEGABYTE (1024 * 1024)

int main()
{
	char *some_menory;
	int megabyte=A_MEGABYTE;
	int exit_code = EXIT_FAILURE;
	some_menory = (char *)malloc(megabyte);
	if(some_menory !=NULL){
		sprintf(some_menory, "Hello world \n");
		printf("%s", some_menory);
		exit_code = EXIT_SUCCESS;
	
	}
	exit(exit_code);
}
